<?php
session_start();
if (!isset ($_SESSION["token"])){
  header("Location: login.php");
}
require_once '../../config.inc';
require_once '../../lib/common.inc.php';


$pass=new Password();
$mysql=new mySQL(array( "db_user" => $_SESSION["dbuser"],
                          "db_pass" =>$pass->decrypt($_SESSION["dbpass"]),
                          "db_host" => DB_HOST));
$mysql->dbconnect();

$serverCharsets=$mysql->getServerCharsets();
